<script type="text/javascript"> 
      var hour=0;   
    var minu=0;   
  var sec=0; 
var timeStr="" 
  function showTime() 
    { 
       sec++; 
       if(sec==60){ 
           sec=0; 
           minu++; 
        } 
        if(minu==60) 
         { 
          minu=0; 
          hour++; 
         } 
       if(hour<10) timeStr="0"+hour+":"; 
   else{ 
     timeStr=hour+":"; 
   } 
   
  if(minu<10) timeStr=timeStr+"0"+minu+":";  
else   timeStr=timeStr+minu+":"; 
  if(sec<10)  timeStr=timeStr+"0"+sec; 
else timeStr=timeStr+sec;

document.all.show_time.innerHTML=timeStr; 
timeStr=""; 
  window.setTimeout(showTime,1000); 
    } 
    
    window.onload=function() 
     { 
      window.setTimeout(showTime,1000); 
     }

</script> 
